bottomLeft
Type
property
Summary
Specifies the location of the specified object's lower left corner.
Syntax
set the bottomLeft of <object> to <left>, <bottom>
Description
Use the bottomLeft property to change the placement of a control or window.
The bottomLeft of a stack is in absolute (screen) coordinates. The first item (the left) of a card's bottomLeft property is always zero; the second item (the bottom) is always the height of the stack window. The bottomLeft of a group or control is in relative (window) coordinates.
In window coordinates, the point 0,0 is at the top left of the stack window. In screen coordinates, the point 0,0 is at the top left of the screen.
Changing the bottomLeft of an object moves it to the new position without resizing it. To change an object's size, set its height, width, or rectangle properties.
The order of the bottom and left parameters is reversed compared to the property name: left comes first, then bottom.
Examples
set the bottomLeft of this stack to 400,250
set the bottomLeft of button myButton to 100,the bottom of button 1
Related
object: card
property: topRight, left, pixels, height, width, bottom, properties
constant: left
function: stacks
glossary: object, property, stack window, absolute coordinates, read-only, relative coordinates, parameter, integer, evaluate
keyword: card, item, rectangle, point, control
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile